Re: [SQL] Problem with array of char - Mailing list pgsql-sql

From Herouth Maoz
Subject Re: [SQL] Problem with array of char
Date
Msg-id l03110703b19ffcf97ced@[147.233.159.109]
Whole thread Raw
In response to Problem with array of char  (Stephane MONEGER <moneger@NCTech.FR>)
List pgsql-sql
At 11:07 +0300 on 4/6/98, Stephane MONEGER wrote:


> Do you have an idea? A solution? I have very large tables and char[][]
> is the only way I found to save values of 1 byte (as thin int are not
> supported by PostgreSQL).

I'm not sure if it's any help, but PostgreSQL has a built-in type called
"bytea", which is a variable-length array of bytes. Maybe you should play
around with it. I'm not sure how values are inserted to it - it seems to
behave very much like the text type.

Herouth

--
Herouth Maoz, Internet developer.
Open University of Israel - Telem project
http://telem.openu.ac.il/~herutma



pgsql-sql by date:

Previous
From: Herouth Maoz
Date:
Subject: Re: [SQL] problems with CAST :-{
Next
From: Christian Pomar Berry
Date:
Subject: suscribe